package com.foreknow.test;

public class Employee {
    private String eid;
    private String name;
    private int age;
    private String department;

    public Employee() {

    }

    public Employee(String eid,String name,int age,String department) {
        this.eid = eid;
        this.name = name;
        this.age = age;
        this.department = department;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public static void main(String[] args) {
//        Employee e1 = new Employee();
//        e1.setEid(1000);
//        e1.setName("fender");
//        Employee e2 = new Employee();
//        e1.setEid(1001);
//        e1.setName("gibson");
//
//        Employee[] emps = new Employee[2];
//        emps[0] = e1;
//        emps[1] = e2;
//
//        for(int i = 0;i<emps.length;i++){
//            Employee e = emps[i];
//            System.out.println(e);
//        }
//        Employee[] empss = {e1,e2};
    }
}
